package com.sdruixinggroup.mondayb2b.models;

/**
 * Created by 00029935 on 2017/12/6.
 */

public class Member {

    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1512543911
     * member : {"id":14,"username":"","mobile":"15050856389","balance":0,"point":0,"avatar":"1","nickname":"新用户","realname":"","gender":1}
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private MemberBean member;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public MemberBean getMember() {
        return member;
    }

    public void setMember(MemberBean member) {
        this.member = member;
    }

    public static class MemberBean {
        /**
         * id : 14
         * username :
         * mobile : 15050856389
         * balance : 0
         * point : 0
         * avatar : 1
         * nickname : 新用户
         * realname :
         * gender : 1
         */

        private int id;
        private String username;
        private String mobile;
        private int balance;
        private int point;
        private String avatar;
        private String nickname;
        private String realname;
        private int gender;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public int getBalance() {
            return balance;
        }

        public void setBalance(int balance) {
            this.balance = balance;
        }

        public int getPoint() {
            return point;
        }

        public void setPoint(int point) {
            this.point = point;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }
    }
}
